/**
 * @file main.cpp
 * @brief
 * @author fhx (1805066231@qq.com)
 * @date 2022-07-31
 *
 * @copyright Copyright (C) 2022, HITCRT_VISION, all rights reserved.
 *
 * @par 修改日志:
 * <table>
 * <tr><th>Date       <th>Author  <th>Description
 * <tr><td>2022-07-31 <td>fhx  <td>
 * </table>
 */
#include <iostream>

#include "image.h"
using namespace std;

int main() {
    Image image1, image2;
    Create_Image(&image1);
    cout << "---------------灰度变换前的图像---------------" << endl;
    Print_Image(&image1);
    Reverse_Image(&image1, &image2);
    cout << "---------------灰度变换后的图像---------------" << endl;
    Print_Image(&image2);
    Delete_Image(&image1);
    Delete_Image(&image2);
    return 0;
}